package com.bsoft.gol.hcs.odshmrecord.service;


import ctd.controller.exception.ControllerException;
import ctd.util.annotation.RpcService;
import hcn.base.healthinfo.OdsHmBind;
import com.bsoft.gol.hcs.odshmrecord.bean.request.SaveHmBindRequest;
import com.bsoft.gol.hcs.odshmrecord.bean.request.UpdateHmBindRequest;
import com.bsoft.gol.hcs.odshmrecord.bean.response.SaveHmBindResp;

import java.util.List;

/**
 * @author
 * @date
 * @Description 用户绑定设备接口
 */
public interface IOdsHmBindService {

    /**
     * 设备list
     */
    @RpcService
    List<OdsHmBind> findOdsHmBinds(String userId)throws ControllerException;



    /**
     * 查询用户绑定设备详情
     */
    @RpcService
    OdsHmBind getOdsHmBindById(String hmBindId)throws ControllerException;
    /**
     * 修改个人设备绑定人
     *
     * @param updateHmBindRequest
     */
    @RpcService
    OdsHmBind updateHmBind(UpdateHmBindRequest updateHmBindRequest) throws ControllerException;

    /**
     * 绑定用户设备
     *
     * @param saveHmBindRequest
     */
    @RpcService
    SaveHmBindResp saveHmBind(SaveHmBindRequest saveHmBindRequest) throws ControllerException;
    /**
     * 根据设备绑定标识id 解绑
     *
     * @param
     */
    @RpcService
    void deleteHmBind(String hmBindId);
}
